package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallMallitemcenterSubscribeQueryRequest struct {
	/*
	   入参query     */
	Query *domain.TmallMallitemcenterSubscribeQuerySpb2bOderQuery `json:"query,omitempty" required:"false" `
}

func (s *TmallMallitemcenterSubscribeQueryRequest) SetQuery(v domain.TmallMallitemcenterSubscribeQuerySpb2bOderQuery) *TmallMallitemcenterSubscribeQueryRequest {
	s.Query = &v
	return s
}

func (req *TmallMallitemcenterSubscribeQueryRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.Query != nil {
		paramMap["query"] = util.ConvertStruct(*req.Query)
	}
	return paramMap
}

func (req *TmallMallitemcenterSubscribeQueryRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
